package com.scs.application.modules.msg.entity;

import com.scs.application.core.model.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
@Accessors(chain = true)
public class MessageSend extends BaseEntity implements Serializable {

    /**
     * 场景标识
     */
    @NotBlank(message = "场景标识不能为空")
    private String sceneCode;

    /**
     * 发送类型
     */
    @NotBlank(message = "场景标识不能为空")
    private String sendType;


    /**
     * 用户IDs
     */
    private String userIds;


    /**
     * 部门IDs
     */
    private String officeIds;
}
